<ng-container *ngIf="entity?.fields">
    <table class="table">
        <tr>
            <th>名称</th>
            <th class="align-center">类型</th>
            <th class="align-center">必填</th>
            <th>DEMO</th>
            <th>备注</th>
        </tr>
        <tr *ngFor="let param of entity.fields">
            <td>{{param.name}}</td>
            <td>{{param.entityName|simpleEntityName}}</td>
            <td>{{param.required ? 'Y' : 'N'}}</td>
            <td>{{param.demo}}</td>
            <td class="align-left">{{param.comment}}</td>
        </tr>
    </table>
</ng-container>
